#include <boost/python.hpp>
#include "node.h"
using namespace boost::python;
long network::return_this(){
	return (long) this;
}

class node: public network{};

#include <string>
#include <boost/python.hpp>


BOOST_PYTHON_MODULE(libcerebra)
{
   
   def("initialize", initialize);
   def("save", save);

   object network_class = class_<node>("network")
        .def("evolve", &node::evolve)
        .def("assign", &node::assign)
	  .def("sustantiv", &node::sustantiv)
	  .def("descriptiv", &node::descriptiv)
	  .def("equiv", &node::equiv)
	  .def("set", &node::set)
	.def("return_this", &node::return_this)
	.def("toggle_wakeup", &node::toggle_wakeup);
	
}

